package com.lzh.rocblogbackend.utils;

import java.text.SimpleDateFormat;
import java.util.Calendar;


public class TimeUtil {
    public static String getCurrentTime() {
        Calendar calendar = Calendar.getInstance();
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
        return formatter.format(calendar.getTime());
    }
}
